package org.jeecg.modules.course.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 课程信息
 * @Author: jeecg-boot
 * @Date:   2024-07-10
 * @Version: V1.0
 */
@Data
@TableName("gw_course")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="gw_course对象", description="课程信息")
public class GwCourse implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**课程名称*/
	@Excel(name = "课程名称", width = 15)
    @ApiModelProperty(value = "课程名称")
    private String courseName;
	/**课程pdf*/
	@Excel(name = "课程pdf", width = 15)
    @ApiModelProperty(value = "课程pdf")
    private String coursePdf;
	/**课程视频*/
	@Excel(name = "课程视频", width = 15)
    @ApiModelProperty(value = "课程视频")
    private String courseVideo;
	/**语音标注*/
	@Excel(name = "语音标注", width = 15)
    @ApiModelProperty(value = "语音标注")
    private String courseLabel;
    /**课程封面*/
    @Excel(name = "课程封面", width = 15)
    @ApiModelProperty(value = "课程封面")
    private String courseCover;

    @JsonIgnore
    @Excel(name = "作者标识", width = 15)
    @ApiModelProperty(value = "作者标识")
    private String authorId;

    @Excel(name = "课程作者", width = 15)
    @ApiModelProperty(value = "课程作者")
    private String courseAuthor;

    @Excel(name = "作者简介", width = 15)
    @ApiModelProperty(value = "作者简介")
    private String authorIntroduction;

    @Excel(name = "课程简介", width = 15)
    @ApiModelProperty(value = "课程简介")
    private String courseIntroduction;

    @Excel(name = "主讲人", width = 15)
    @ApiModelProperty(value = "主讲人")
    private String courseTeacher;

    /**课程跳转地址*/
    @Excel(name = "课程跳转地址", width = 15)
    @ApiModelProperty(value = "课程跳转地址")
    private String courseJumpUrl;

    @Excel(name = "课程行业/标签", width = 15)
    @ApiModelProperty(value = "课程行业/标签(工业产品设计｜软件设计｜智能制造｜汽车维修｜等等)")
    private String courseTags;

    @Excel(name = "课件总数", width = 15)
    @ApiModelProperty(value = "课件总数")
    private Integer totalPpt;

    @Excel(name = "视频总数", width = 15)
    @ApiModelProperty(value = "视频总数")
    private Integer totalVideo;

    @Excel(name = "测试总数", width = 15)
    @ApiModelProperty(value = "测试总数")
    private Integer totalTest;

    @TableField(exist = false)
    @Excel(name = "是否选课", width = 15)
    @ApiModelProperty(value = "是否选课")
    private Boolean haveChosen;

}
